﻿using System;
using System.Collections.ObjectModel;

namespace MomentumPlugin.Common
{
	[Serializable]
	internal class DecisionEngineData : Plugins.Base.Common.DecisionEngineDataBase
	{
		#region Attributes

		private decimal _accumulatedValue;

		#endregion

		#region Properties

		public decimal AccumulatedValue
		{
			get
			{
				return _accumulatedValue;
			}
			set
			{
				if (_accumulatedValue != value)
				{
					_accumulatedValue = value;
					base.OnPropertyChanged("AccumulatedValue");
				}
			}
		}

		public ObservableCollection<decimal> Values { get; private set; }

		#endregion

		#region Public Methods

		public DecisionEngineData()
		{
			this.Values = new ObservableCollection<decimal>();
		}

		#endregion
	}
}
